}
.dash-pane {
- background-color: rgba(0,0,0,0.95);
- border: 1px solid #262626;
- padding: 4px;
- spacing: 4px;
-}
-
-.dash-pane-close {
- background-image: url("close.svg");
- width: 16px;
- height: 16px;
+ border-radius: 10px;
+ background-color: #111111;
+ border: 2px solid #868686;
+ color: #ffffff;
+ padding: 30px 10px 10px 20px;
}
.dash-search-section-header {
let chromeTop = new St.BoxLayout();
- let closeIcon = new St.Button({ style_class: "dash-pane-close" });
- closeIcon.connect('clicked', Lang.bind(this, function (b, e) {
- this.close();
- }));
let dummy = new St.Bin();
chromeTop.add(dummy, { expand: true });
- chromeTop.add(closeIcon, { x_align: St.Align.END });
this.actor.add(chromeTop);
this.content = new St.BoxLayout({ vertical: true });
if (disableVScrolling) {
this.actor = this._list = new Shell.OverflowList({ spacing: 6,
- item_height: 50 });
+ item_height: 50 });
} else {
- this.actor = new St.ScrollView({ x_fill: true, y_fill: true });
- this.actor.get_hscroll_bar().hide();
+ this.actor = new St.ScrollView({ x_fill: true,
+ y_fill: false,
+ vshadows: true });
this._list = new St.BoxLayout({ style_class: 'generic-display-container',
vertical: true });
this.actor.add_actor(this._list);
+ this.actor.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
}
this._pendingRedisplay = RedisplayFlags.NONE;